home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- set -e
- # Automatically added by dh_installdebconf
- if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
- . /usr/share/debconf/confmodule
- db_purge
- fi
- # End automatically added section
- # Automatically added by installdeb-ispell
- rmscript="remove-default-ispell"
-
- case "$1" in abort-install|remove)
- if which $rmscript > /dev/null 2>&1; then
- $rmscript ipolish
- else
- echo "Error: $rmscript not present or executable. Missing dependency on dictionaries-common?" >&2
- exit 1
- fi
-
- # Remove shared question stuff on package removal, not only on purge
- if [ -e /usr/share/debconf/confmodule ]; then
- . /usr/share/debconf/confmodule
- db_purge
- fi
- esac
- # End automatically added section
-